package com.xhwl.logistics.entity.logistics;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author lin.yang
 * @since 2023-12-15
 */
@Data
@TableName("logistics_device")
@ApiModel(value = "LogisticsDevice对象", description = "")
public class Device implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private String deviceName;

    @ApiModelProperty(value = "设备空间名称")
    private String devicePosition;


    @ApiModelProperty(value = "项目id")
    private Integer projectId;

    @ApiModelProperty(value = "项目名称")
    private String projectName;

    @ApiModelProperty(value = "设备详细位置")
    private String deviceDetailPosition;

    @ApiModelProperty(value = "接入协议")
    private String accessProtocol;

    @ApiModelProperty(value = "获取的设备编码")
    private String deviceCode;

    @ApiModelProperty(value = "设备状态")
    private Integer status;

    @ApiModelProperty(value = "能力集")
    private String func;


}
